import React from 'react'
import Markdown from 'marked-react'
import 'github-markdown-css'

const MarkdownRenderer: React.FC<{
  content: string
}> = props => {
  const { content } = props

  return (
    <div className="markdown-body">
      <Markdown>{content}</Markdown>
    </div>
  )
}

export default MarkdownRenderer
